package objects
{
	/**
	 * @author robt
	 */
	public class Mine extends AbstractObject
	{
		[Embed(source="../assets/assets.swf", symbol="Mine")]
		protected var AssetClass : Class;

		public function Mine(yOffset : Number)
		{
			super(yOffset);

			_asset = new AssetClass();
			addChild(_asset);
		}
		
		override public function getCode() : String
		{
			var code : String = "";
			
			code = "[self addMine:ccp(" + x + "," + (_yOffset - y) + ")]";
			
			return code;
		}
	}
}
